<?php
$when = new DateTime();
print $when->format('r');